Wolters Kluwer CCH® SureTax®

    Show / Hide Table of Contents

    SureTax Returns API

    DELETE Form Instances

    DELETE Form Instances

    Overview

    This API endpoint enables the deletion of generated form instances from the system. It provides clients with the ability to remove specific form instances that are no longer needed or relevant, helping to maintain data integrity and system cleanliness.

    OperationId: DELETE Form Instances

    Authorization Method(s): OAuth

    Verb: DELETE

    End Point: /api/v1/Forms/FormInstances



    Query Parameters
    Query parameters in an API operation are key-value pairs that are included in the URL of an API request to filter or modify the data returned by the API. They come after the `?` in the URL and are often used to pass optional parameters like search terms, pagination information, sorting criteria, or filters to narrow down the data in the response.

    Display String Field Name Field Type
    Id* Id string

    *Mandatory parameter

    DeleteFormInstancesResponse

    Overview

    Response object for DELETE requests that remove form instances, including error messages for any issues encountered during the deletion process.

    DeleteFormInstancesResponse
    Display NameField NameField Type
    Data dataDeleteFormInstancesData
    DeleteFormInstancesData
    Display NameField NameField Type
    Form Instances formInstancesarray[FormDeleteInstanceError]
    FormDeleteInstanceError
    Display NameField NameField Type
    Id idstring
    Error Message errorMessagestring

    Example Response

    The following is an example response you can expect for this operation

    {
      "data": {
        "formInstances": [
          {
            "id": "FORM12345",
            "errorMessage": "No errors."
          },
          {
            "id": "FORM67890",
            "errorMessage": "Error while deleting form instance."
          }
        ]
      }
    }
    Response Codes
    Response codes in an API indicate the outcome of a request. They are three-digit numbers returned by the server to help the client understand if the request was successful, encountered an error, or needs further action. This operation has the following possible responses.

    code description
    200 The API response contains the status of the deleted form instances along with any error messages.
    400 Bad request. Invalid data provided.
    401 Unauthorized access.
    500 Internal server error.




    Enter Environment Credentials








    Wolters Kluwer Product Name - Page anchor links toWolters Kluwer Product Name - Page anchor links to
    © Wolters Kluwer and/or its affiliates. All rights reserved.